#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define MAX_USERS 100
#define MAX_NAME 50

typedef struct {
    char name[MAX_NAME];
    char department[MAX_NAME];
    char title[MAX_NAME];
    int family_members;
    int score;
    int room_number;
    int room_area;
} User;

typedef struct {
    int room_number;
    int room_area;
    int allocated;
    float rent_per_sqm;
} Room;
